package com.ktgj.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 旅游供应商
 */
public class TravelSupplierDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 供应商表主键 */
    private Long supplierId;

    /** 供应商类型1团供应商 2保险供应商 */
    @Excel(name = "供应商类型1团供应商 2保险供应商")
    private String supplierType;

    /** 录入人编号 */
    @Excel(name = "录入人编号")
    private Long employeeId;

    /** 录入人姓名 */
    @Excel(name = "录入人姓名")
    private String employeeName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(String supplierType) {
        this.supplierType = supplierType;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Override
    public String toString() {
        return "TravelSupplierDto{" +
                "supplierId=" + supplierId +
                ", supplierType='" + supplierType + '\'' +
                ", employeeId=" + employeeId +
                ", employeeName='" + employeeName + '\'' +
                ", createTime=" + createTime +
                ", supplierName='" + supplierName + '\'' +
                '}';
    }
}
